{extend name="base"}
{block name="title"}用户背包道具使用记录查询{/block}
{block name="head"}
{/block}
{block name="body"}
<body class="mainbody">
<form>
    <!--导航栏-->
    <div class="location">
        <a href="javascript:history.back(-1);" class="back"><i class="iconfont icon-up"></i><span>返回上一页</span></a>
        <a href="{:url('index/home')}" class="home"><i class="iconfont icon-home"></i><span>首页</span></a>
        <i class="arrow iconfont icon-arrow-right"></i>
        <span>用户背包道具使用记录</span>
    </div>
    <!--/导航栏-->

    <div id="floatHead" class="toolbar-wrap">
        <div class="toolbar">
            <div class="box-wrap">
                <a class="menu-btn"><i class="iconfont icon-more"></i></a>
                <div class="l-list">
                    <div class="menu-list">
                        <div class="rule-single-select">
                            <select name="Channel" style="display:none">
                                <option value="-1">===所有渠道===</option>
                                {volist name="CHANNELS" id="val"}
                                <option value="{$key}"{eq name="Channel" value="$key"} selected{/eq}>[{$key}]{$val.Name}</option>
                                {/volist}
                            </select>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

     <div class="table-container">
        <table class="ltable border-table">
            <tr>
                
                <th>记录ID</th>
                <th>道具标识/名称</th>
                <th>用户头像/昵称/GameID</th>
                <th>使用数量</th>
                <th>使用前数量</th>
                <th>使用后数量</th>
                <th>使用时间</th>
                <th>描述</th>

            </tr>
            {empty name="list"}
            <tr><td colspan="10">Oh~暂无数据!</td></tr>
            {else/}
            {volist name="list" id="v"}
            <tr>
                <td>{$v.RecordID}</td>
                <td>[{$v.BackIndex}]{$v.Name}</td>
                <td class="user-avatar" title="
游戏帐号：{$v.Accounts}&#13
真实姓名：{$v.Compellation}&#13
    性别：{switch name='$v.Sex'}{case value='0'}未知{/case}{case value='1'}男性{/case}{case value='2'}女性{/case}{/switch}&#13
注册时间：{$v.RegisterDate}&#13
注册地址：{$v.RegisterIP}&#13;
登录次数：{$v.GameLogonCount} 次&#13
最后登录时间：{$v.LastLogonDate}&#13
最后登录地址：{$v.LastLogonIP}&#13
">
                    <a target="_blank" href="{:url('user.detail/index')}?UserID={$v.UserID}">
                        <img src="{$v.Avatar?:'__STATIC__/houtai/images/dface.png'}" />
                    </a>
                    <div class="user-box">
                        <h4><a target="_blank" class="at_{$v.AccountsType}" href="{:url('user.detail/index')}?UserID={$v.UserID}">{:htmlentities($v.NickName)}</a></h4>
                        <i>{$v.GameID}</i>
                    </div>
                </td>
                <td>{$v.ItemNum}</td>
                <td>{$v.BeforNum}</td>
                <td>{$v.NowNum}</td>
                <td>{$v.CreateTime}</td>
                <td>{$v.Describe}</td>
               
            </tr>
            {/volist}
            {/empty}
        </table>
    </div>
    

    <div class="page-footer"><div class="btn-wrap">{$list->render()}</div></div>

</form>

</body>
{/block}